<?php
/**xianhuastart**/
Route::set('xianhua_show', 'xianhua/show_<aid>.html', array(
    'aid' => '\d+'

))->defaults(array(
        'action' => 'show',
        'controller' => 'xianhua'
    ));
Route::set('xianhua_book', 'xianhua/book', array())->defaults(array(
    'controller' => 'xianhua',
    'action' => 'book'
));
Route::set('xianhua_create', 'xianhua/create', array())->defaults(array(
    'controller' => 'xianhua',
    'action' => 'create'
));
Route::set('xianhua_list', 'xianhua(/<destpy>)(<sign>)(-<sorttype>)(-<attrid>)(-<p>)',
    array(
        'destpy' => '[a-zA-Z]+',
        'sign'=>'\/?',
        'sorttype' => '[0-9]+',
        'attrid' => '[0-9_]+',
        'p' => '[0-9]+'
    ))
    ->defaults(array(
        'controller'=>'xianhua',
        'action'=>'list'
    ));
/**xianhuaend**/
/**wanjustart**/
Route::set('wanju_show', 'wanju/show_<aid>.html', array(
    'aid' => '\d+'

))->defaults(array(
        'action' => 'show',
        'controller' => 'wanju'
    ));
Route::set('wanju_book', 'wanju/book', array())->defaults(array(
    'controller' => 'wanju',
    'action' => 'book'
));
Route::set('wanju_create', 'wanju/create', array())->defaults(array(
    'controller' => 'wanju',
    'action' => 'create'
));
Route::set('wanju_list', 'wanju(/<destpy>)(<sign>)(-<sorttype>)(-<attrid>)(-<p>)',
    array(
        'destpy' => '[a-zA-Z]+',
        'sign'=>'\/?',
        'sorttype' => '[0-9]+',
        'attrid' => '[0-9_]+',
        'p' => '[0-9]+'
    ))
    ->defaults(array(
        'controller'=>'wanju',
        'action'=>'list'
    ));
/**wanjuend**/
/**kuozanstart**/
Route::set('kuozan_show', 'kuozan/show_<aid>.html', array(
    'aid' => '\d+'

))->defaults(array(
        'action' => 'show',
        'controller' => 'kuozan'
    ));
Route::set('kuozan_book', 'kuozan/book', array())->defaults(array(
    'controller' => 'kuozan',
    'action' => 'book'
));
Route::set('kuozan_create', 'kuozan/create', array())->defaults(array(
    'controller' => 'kuozan',
    'action' => 'create'
));
Route::set('kuozan_list', 'kuozan(/<destpy>)(<sign>)(-<sorttype>)(-<attrid>)(-<p>)',
    array(
        'destpy' => '[a-zA-Z]+',
        'sign'=>'\/?',
        'sorttype' => '[0-9]+',
        'attrid' => '[0-9_]+',
        'p' => '[0-9]+'
    ))
    ->defaults(array(
        'controller'=>'kuozan',
        'action'=>'list'
    ));
/**kuozanend**/